import userCompIndex from '../page/userComp/userCompIndex.vue'

import uploadCompDemo from '../page/userComp/uploadCompDemo.vue'
// 省市区组件DEMO
import addressInputDemo from '../page/userComp/addressInputDemo.vue'
// 表单组件容器
import formCompIndex from '../page/userComp/formComp/formCompIndex.vue'
// 高级搜索
import multiConditionSearchCompDemo from '../page/userComp/formComp/multiConditionSearchCompDemo.vue'
// input 表单搜索
import conditionSearchCompDemo from '../page/userComp/formComp/conditionSearchCompDemo.vue'
import basicDataDemo from '../page/userComp/basicDataDemo.vue'

// ztree 组件
import ztreeVueIndex from '../page/userComp/ztree/ztreeVueIndex.vue'
import ztreeRadioDemo from '../page/userComp/ztree/ztreeRadioDemo.vue'
import ztreeCheckboxDemo from '../page/userComp/ztree/ztreeCheckboxDemo.vue'
import ztreeDemo from '../page/userComp/ztree/ztreeDemo.vue'
import ztreeMenuDemo from '../page/userComp/ztree/ztreeMenuDemo.vue'

// 引入事件总线
import eventBusDemo from '../page/userComp/eventBus/eventBusDemo.vue'

//错误页面
import errorpages from '../page/userComp/errorPage.vue'
//下拉式搜索树形结构
import orgSelectSearchTreeDemo from '../page/userComp/select/orgSelectSearchTreeDemo.vue'

//下拉组件
import selectMenu from '../page/userComp/select/selectMenu.vue'
import searchSelect from '../page/userComp/select/searchSelect.vue'//可搜索下拉框
import customSelectDemo from '../page/userComp/select/customSelectDemo.vue'//自定义可搜索下拉框
import ryncLoadSelectDemo from '../page/userComp/select/ryncLoadSelectDemo.vue'//自定义可搜索下拉框

export default {
    path: '/userComp',
    title: 'zlst组件',
    component:userCompIndex,
    children: [
        {
            name:"basic-userComp-ztree-ztreeVueIndex",
            path: 'ztreeVueIndex',
            title: 'vueZtree的用法',
            component: ztreeVueIndex,
            redirect: '/userComp/ztreeVueIndex/ztreeDemo',
            children: [
                {
                    name:"basic-userComp-ztree-ztreeDemo",
                    path: 'ztreeDemo',
                    title: 'ztreeDemo',
                    component: ztreeDemo
                },
                // radio 组织树
                {
                    name:"basic-userComp-ztree-ztreeRadioDemo",
                    path: 'ztreeRadioDemo',
                    title: 'ztreeRadioDemo',
                    component: ztreeRadioDemo
                },
                // checkbox 组织树
                {
                    name:"basic-userComp-ztree-ztreeCheckboxDemo",
                    path: 'ztreeCheckboxDemo',
                    title: 'ztreeCheckboxDemo',
                    component: ztreeCheckboxDemo
                },
                // 系统管理左侧菜单树
                {
                    name:"basic-userComp-ztree-ztreeMenuDemo",
                    path: 'ztreeMenuDemo',
                    title: 'ztreeMenuDemo',
                    component: ztreeMenuDemo
                },
            ]
        },
        {
            name:"basic-userComp-uploadCompDemo",
            path: 'uploadCompDemo',
            title: '上传文件',
            component: uploadCompDemo
        },
        {
            name:"basic-userComp-eventBus-eventBusDemo",
            path: 'eventBusDemo',
            title: '事件总线',
            component: eventBusDemo
        },
        {
            name:"basic-userComp-formComp-formCompIndex",
            path: 'formCompIndex',
            title: '搜索组件',
            component: formCompIndex,
            children: [
                {
                    name:"basic-userComp-formComp-multiConditionSearchCompDemo",
                    path: 'multiConditionSearchCompDemo',
                    title: '高级搜索',
                    component: multiConditionSearchCompDemo
                },
                {
                    name:"basic-userComp-conditionSearchCompDemo",
                    path: 'conditionSearchCompDemo',
                    title: 'input搜索',
                    component: conditionSearchCompDemo
                },
            ]
        },
        {
            name:"basic-userComp-address-input",
            path: 'addressInputDemo',
            title: '省市区下拉框',
            component: addressInputDemo
		},
        {
            name:"basic-userComp-basic-data",
            path: 'basicDataDemo',
            title: '数据字典',
            component: basicDataDemo
        },
         {
            name:"basic-userComp-error-pages",
            path: 'errorpages',
            title: '错误页面',
            component: errorpages
        },
        {
            name: "basic-userComp-select-menu",
            path: 'selectMenu',
            title: '下拉菜单',
            component: selectMenu,
            children: [
                {
                    name: "basic-userComp-search-select",
                    path: 'searchSelect',
                    title: 'searchSelect',
                    component: searchSelect
                },
                {
                    name: "basic-userComp-custom-select",
                    path: 'customSelectDemo',
                    title: 'customSelectDemo',
                    component: customSelectDemo
                },
                {
                    name: "basic-userComp-custom-ryncLoadSelectDemo",
                    path: 'ryncLoadSelectDemo',
                    title: 'ryncLoadSelectDemo',
                    component: ryncLoadSelectDemo
                },
                {
                    name: "basic-userComp-dropdown-Search",
                    path: 'orgSelectSearchTreeDemo',
                    title: '下拉式搜索(带树形菜单)',
                    component: orgSelectSearchTreeDemo
                },
            ]
        },
    ]
}
